package com.bonc.ioc.dao;

import com.bonc.ioc.base.mapper.BaseDao;
import com.bonc.ioc.vo.StandardBasicDataOptionVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @version 1.0
 * @description:
 * @author: wangqinglin
 * @date: 2021/3/26 14:21
 * @change : 2021/3/26 14:21 by q8541q@163.com  for init
 */
@Mapper
public interface StandardBasicDataOptionMapper extends BaseDao<StandardBasicDataOptionVo> {


    /**
     * select by primary key
     *
     * @param id primary key
     * @return object by primary key
     */
    StandardBasicDataOptionVo selectByPrimaryKey(Long id);

    /**
     * update record
     *
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(StandardBasicDataOptionVo record);

    List<Map> getBasicFieldOptionInfoById(@Param("id") String id);

    void deleteAll();

    void saveAll(StandardBasicDataOptionVo standardBasicDataOption);
}